<template>
	<div class="btnparents">
		<div class="loginbtn" @click="registerbtn">{{ btntext }}</div>
	</div>
</template>

<script>
export default {
	props: ['btntext'],
	methods: {
		registerbtn() {
			this.$emit('registerbtn');
		}
	}
};
</script>

<style>
.btnparents {
	padding: 15px 10px;
}
.loginbtn {
	height: 45px;
	background-color: #ff9db5;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 22.5px;
	font-size: 16px;
}
</style>
